/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.close.basic.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.hopes.boss.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * 园区人员信息
 *
 * @author pig
 * @date 2023-10-23 11:21:57
 */
@Data
@TableName(value = "closed_person", excludeProperty = "tenantId")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "园区人员信息")
public class ClosedPersonEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="ID")
    private Long id;

	/**
	 * 类型 park -> 园区   company -> 企业
	 */
	@Schema(description="类型")
	private String type;

	/**
	* 姓名
	*/
    @Schema(description="姓名")
    private String name;

	/**
	* 手机号
	*/
    @Schema(description="手机号")
    private String phone;

	/**
	* 身份证
	*/
    @Schema(description="身份证")
    private String idNum;

	/**
	* 人员类型
	*/
    @Schema(description="人员类型")
    private Integer personType;

	/**
	* 是否启用
	*/
    @Schema(description="是否启用")
    private String useFlag;

	/**
	* 审核状态
	*/
    @Schema(description="审核状态")
    private Integer auditStatus;

	/**
	* 审核结果描述
	*/
    @Schema(description="审核结果描述")
    private String auditResultDesc;

	/**
	 * 申请时间
	 */
	@Schema(description = "申请时间")
	private Date applyTime;


	@Schema(description = "审核时间")
	private Date auditTime;

	/**
	* 是否在园区
	*/
    @Schema(description="是否在园区")
    private String inParkFlag;

	/**
	* 备注
	*/
    @Schema(description="备注")
    private String remark;

	/**
	* 机构ID
	*/
    @Schema(description="机构ID")
    private Long orgId;

}
